Skip to content

feat(gas-profiler): add toggle to simulate with max gas limit#418

Merged
mattevans merged 3 commits intomasterfrom
feat/max-gas-limit
Feb 12, 2026
Merged

feat(gas-profiler): add toggle to simulate with max gas limit#418
mattevans merged 3 commits intomasterfrom
feat/max-gas-limit

Conversation

@mattevans
Copy link
Member

Screenshot 2026-02-12 at 19 14 15 Screenshot 2026-02-12 at 19 14 06

- introduce checkbox to override tx gas limit with EIP-7825 max
- add explanatory dialog clarifying why this prevents false OOG errors
- pass simulatedGasLimit=16_777_216 when option is enabled
@mattevans mattevans self-assigned this Feb 12, 2026
@mattevans mattevans requested a review from Savid as a code owner February 12, 2026 09:14
fix(routeTree): remove trailing slash from /xatu-data route path
… flag

Remove MAX_TRANSACTION_GAS constant and send maxGasLimit=true instead
of simulatedGasLimit=<hard-coded value>. This simplifies the API and
lets the backend decide the actual limit.

Update UI copy to reflect that the limit is "lifted" rather than set
to a specific value, and drop the explanatory note about overriding
individual limits.

Add onEnableMaxGasLimit callback to BlockSimulationResultsV2 so users
can enable max gas limit directly from pre-execution error alerts.
@mattevans mattevans merged commit 872153c into master Feb 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants